-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix/standard_output_ports_calculate #3114
Conversation
…Link into devel # Conflicts: # Scripts/Models (Under Development)/EGO/Using EMComposition/ScriptControl.py # Scripts/Models (Under Development)/EGO/Using EMComposition/TestParams.py
…Link into devel # Conflicts: # Scripts/Models (Under Development)/EGO/Using EMComposition/CSW/ScriptControl.py
- _instantiate_attributes_after_function(): fix assignment of StabilityFunction, and force update of default_variable for output_port
…com/PrincetonUniversity/PsyNeuLink into fix/standard_output_ports_calculate # Conflicts: # psyneulink/library/components/mechanisms/processing/transfer/recurrenttransfermechanism.py
This PR causes the following changes to the html docs (ubuntu-latest-3.11):
See CI logs for the full diff. |
…Link into fix/standard_output_ports_calculate
This PR causes the following changes to the html docs (ubuntu-latest-3.11):
See CI logs for the full diff. |
…Link into fix/standard_output_ports_calculate
_instantiate_attributes_after_function: revise call to _update_default_variable to use energy.variable instead of value
# elif isinstance(matrix, ParameterPort): | ||
# pass |
Check notice
Code scanning / CodeQL
Commented-out code Note
@@ -193,10 +193,11 @@ | |||
|
|||
from psyneulink.core import llvm as pnlvm | |||
from psyneulink.core.components.component import _get_parametervalue_attr | |||
from psyneulink.core.components.functions.nonstateful.transferfunctions import Linear |
Check notice
Code scanning / CodeQL
Cyclic import Note
psyneulink.core.components.functions.nonstateful.transferfunctions
@@ -193,10 +193,11 @@ | |||
|
|||
from psyneulink.core import llvm as pnlvm | |||
from psyneulink.core.components.component import _get_parametervalue_attr | |||
from psyneulink.core.components.functions.nonstateful.transferfunctions import Linear |
Check notice
Code scanning / CodeQL
Unused import Note
from psyneulink.core.components.functions.nonstateful.transformfunctions import LinearCombination | ||
from psyneulink.core.components.functions.function import Function, get_matrix | ||
from psyneulink.core.components.functions.nonstateful.learningfunctions import Hebbian | ||
from psyneulink.core.components.functions.nonstateful.objectivefunctions import Stability | ||
from psyneulink.core.components.functions.nonstateful.objectivefunctions import Stability, Energy, Entropy |
Check notice
Code scanning / CodeQL
Cyclic import Note
psyneulink.core.components.functions.nonstateful.objectivefunctions
from psyneulink.core.components.functions.nonstateful.transformfunctions import LinearCombination | ||
from psyneulink.core.components.functions.function import Function, get_matrix | ||
from psyneulink.core.components.functions.nonstateful.learningfunctions import Hebbian | ||
from psyneulink.core.components.functions.nonstateful.objectivefunctions import Stability | ||
from psyneulink.core.components.functions.nonstateful.objectivefunctions import Stability, Energy, Entropy |
Check notice
Code scanning / CodeQL
Unused import Note
This PR causes the following changes to the html docs (ubuntu-latest-3.11):
See CI logs for the full diff. |
_instantiate_attributes_after_function: revise call to _update_default_variable to use energy.variable instead of value
This PR causes the following changes to the html docs (ubuntu-latest-3.11):
See CI logs for the full diff. |
- TestStandardOutputPorts: test_rtn_energy() test_rtn_entropy()
This PR causes the following changes to the html docs (ubuntu-latest-3.11):
See CI logs for the full diff. |
_instantiate_attributes_after_function(): refactor to assign functions for ENERGY and ENTROPY standard_output_ports before call to super()
This PR causes the following changes to the html docs (ubuntu-latest-3.11):
See CI logs for the full diff. |
This PR causes the following changes to the html docs (ubuntu-latest-3.11):
See CI logs for the full diff. |
…Link into fix/standard_output_ports_calculate
This PR causes the following changes to the html docs (ubuntu-latest-3.11):
See CI logs for the full diff. |
• recurrenttransfermechanism.py
- _instantiate_attributes_after_function(): fix assignment of functions to ENERGY and ENTROPY standard_output_ports
• test_recurrent_transfermechanism.py